<?php

require_once 'functions.php';

if(isset($_REQUEST['action']) && !empty($_REQUEST['action'])) {
    $action = $_REQUEST['action'];
    switch($action) {
        case 'getPoints' : getPoints($_REQUEST['categorie']);break;
    }
}
?>